<template>
	<view>
		<view class="topcont">
			<view class="tit">{{ detail.title }}</view>
			<view class="val">{{detail.creatorStr}}<text style="padding:0 6rpx;">:</text>{{ detail.createTime }}</view>
			<image class="logo" :src="detail.logo" mode="widthFix"></image>
			<view class="info">
				<u-parse :content="detail.info"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
import { njktget } from '@/api/index.js';
export default {
	data() {
		return {
			detail: [],
		};
	},
	onLoad(options) {
		this.get_zjzxget(options.id);
	},
	methods: {
		get_zjzxget(id) {
			njktget({ id: id }).then((res) => {
				this.detail = res.data;
			});
		},
	}
};
</script>

<style lang="scss">
.topcont {
	padding:24rpx;
	background-color: #fff;
	.tit {
		text-align: left;
		line-height: 40rpx;
		font-weight: bold;
		font-size: 32rpx;
	}
	.val {
		font-size: 24rpx;
		color: #626675;
		text-align: right;
	}
	.logo{
		margin-top: 24rpx;
		width: 100%;
	}
	.info {
		margin-top: 24rpx;
		font-size: 26rpx;
	}
}
</style>